<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<script type="text/javascript">
    $(document).ready(function(){
        //head title 动态赋值
        $("#GC_head_title").append($("head").attr("content"));
        //头部选中样式
        $("#"+$("body").attr("class")).addClass("cur");
    });

    /*错误提示工具类*/
    $errorMsg = function (response) {
        if (response.status == 404) {
            alert('出错啦~~404! 服务器提交链接未找到！');
        } else if (response.status == 500) {
            alert('出错啦~~500! 服务器提交出错！');
        } else {
            alert('出错啦~~' + response.status + '错误！');
        }
    }
</script>